package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MainController {
    @RequestMapping("/userLogin")
    public String login() {
        return "login";
    }

    @RequestMapping("/errorPage")
    public String error() {
        return "error";
    }

    /**
     * 验证码生成
     */
    @RequestMapping("/imageCode")
    public String imageCode() {
        return "imageCode";
    }
}
